﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace debioscoopincdrie.forms
{
    public partial class SplashForm : Form
    {
        #region Fields
        private Timer timer;
        #endregion

        #region Constructors
        public SplashForm()
        {
            InitializeComponent();

            timer = new Timer();
            timer.Enabled = true;
            timer.Interval = 2000;
            timer.Tick += timer_Tick;
            timer.Start();
        }
        #endregion

        #region Events
        void timer_Tick(object sender, EventArgs e)
        {
            timer.Stop();
            this.Dispose(false);
            MainForm mf = new MainForm();
            mf.Show();
        }
        #endregion
    }
}
